package com.mhc.suzuki.manager;

import com.mhc.suzuki.vo.OverdueCollectTaskVO;
import com.subaru.common.query.PageResult;
import com.mhc.suzuki.dal.model.OverdueCollectTaskDO;
import com.mhc.suzuki.dal.query.OverdueCollectTaskQuery;

import java.util.List;
import java.util.Map;


/**
 * Manager for OverdueCollectTask.
 */
public interface OverdueCollectTaskManager {
    /**
     * query count by query condition.
     */
    int countByQuery(OverdueCollectTaskQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(OverdueCollectTaskQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(OverdueCollectTaskDO record);

    /**
     * insert selective.
     */
    long insertSelective(OverdueCollectTaskDO record);

    /**
     * select by query condition.
     */
    List<OverdueCollectTaskDO> selectByQuery(OverdueCollectTaskQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<OverdueCollectTaskDO> selectByQueryWithPage(OverdueCollectTaskQuery query);

    /**
     * select by primary key.
     */
    OverdueCollectTaskDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( OverdueCollectTaskDO record,  OverdueCollectTaskQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(OverdueCollectTaskDO record, OverdueCollectTaskQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(OverdueCollectTaskDO record);

    List<OverdueCollectTaskVO> getOverdueCollectTaskList(Map queryMap);

}